package cn.com.git.example.module.service;

import cn.com.git.example.common.ResultPage;
import cn.com.git.example.module.service.dto.DemoDTO;
import cn.com.git.example.module.service.dto.DemoSaveForm;
import cn.com.git.example.module.service.query.DemoListQuery;

/**
 * @author zhangzhenfu
 * @Description
 * @date 2021/3/6 0006 10:42
 */
public interface DemoService {
    /*=================================*/
    /*============ SysUser =============*/
    /*=================================*/
    ResultPage<DemoDTO> listDemo(DemoListQuery query);

    DemoDTO findDemo(Integer id);

    Integer addDemo(DemoSaveForm saveForm);

    void editDemo(DemoSaveForm saveForm);

    void deleteSysUser(Integer id);
}
